<?php
/**
 * Created by PhpStorm.
 * User: Wodro
 * Date: 2020/12/9
 * Time: 17:18
 */

namespace common\assets;


use kartik\base\AssetBundle;

class WebUploader extends AssetBundle
{
    public function init()
    {
        $this->sourcePath = "@static_root/common/webuploader";
        $this->css = [
            'webuploader.css',
        ];
        $this->js = [
            YII_ENV_DEV?'webuploader.min.js':'webuploader.js',
        ];
    }
}